<?php

/*
 * litchicms
 * Copyright (C) 2010-5-1 Author: tiefa(539247@qq.com)
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
!defined('BRK') && exit("!");

$BRK_CONF['prefix'] = 'brk_';  //通用前缀 数据库表和COOKIE等  不可设置为空

$BRK_CONF['dbtype'] = 'mysql';          //数据库服务器类型
$BRK_CONF['dbhost'] = 'localhost'; //数据库服务器地址
$BRK_CONF['dbuser'] = 'tiefa';  //数据库用户名
$BRK_CONF['dbpw'] = 'xnzeve';  //数据库密码
$BRK_CONF['dbname'] = 'brkcms';         //数据库名
$BRK_CONF['dbpconnect'] = 0;  //数据库持久连接 0=关闭, 1=打开
$BRK_CONF['dbcharset'] = 'utf8';  //数据库字符集

$BRK_CONF['domain'] = 'breakcms';       //网站域名  如 www.break.com

$BRK_CONF['htmldir'] = 'html';      //静态目录

$BRK_CONF['cookiedomain'] = '';  //cookie作用域。如 .break.com
$BRK_CONF['cookiepath'] = '/';  //cookie 作用路径

$BRK_CONF['charset'] = 'utf-8';  //页面字符集  'gbk', 'big5', 'utf-8' 暂时只支持utf-8

$BRK_CONF['lang'] = "zh-cn";               //默认为zh-cn 中文
$BRK_CONF['use_http_accept'] = 1;          //是否使用浏览器语言设置 1 是 0 否
//------------------------------------------------------------------------------
//以下为其他系统配置,轻易别动
//------------------------------------------------------------------------------
//后台管理入口文件名
$BRK_CONF['admin_file_name'] = 'admin.php';

//---------------------以下6项不可以出现斜线,否则灾难...
$BRK_CONF['tpldir'] = BRK . "theme";      //模板目录
$BRK_CONF['tpl'] = "default";             //模板
$BRK_CONF['xmltpl'] = "default_xml";     //xml模板位置
$BRK_CONF['admintpldir'] = SYSTEM;         //管理模板目录位置
$BRK_CONF['admintpl'] = "litchiblack";           //管理模板目录
$BRK_CONF['adminxmltpl'] = "litchi_xml";   //管理xml模板位置

define('TPF', $BRK_CONF['prefix']);
?>
